import request from "@/utils/request.js"
/**
 * @description: 消息中心
 * @param {Number} : 
 */
export function histMessage(data) {
	return request({
		url: `/system/histMessage/list`,
		method: 'post',
		data,
	})
}
/**
 * @description: 一键已读
 * @param {Number} : 
 */
export function updateAllRead() {
	return request({
		url: `/system/histMessage/updateAllRead `,
		method: 'get',
	})
}
/**
 * @description: 未读数量
 * @param {Number} : 
 */
export function getCount() {
	return request({
		url: `/system/histMessage/getCount`,
		method: 'get',
	})
}